Clean up some error-handling messages a bit, particularly as relate to TitleBlacklist.
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 2 Jan 2008 02:01:09 +0000 (02:01 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 2 Jan 2008 02:01:09 +0000 (02:01 +0000)
commit9428c8bbc8407172d56a1bb7ebaec1529f5d46e5
treee9da6c3bd09c59d6cb4feea1b7ab233435aa1b0c
parent23041421b09304bd66c2d16dd61898059efffc03
Clean up some error-handling messages a bit, particularly as relate to TitleBlacklist.
* Hook-generated error messages should be strong class="error" on moving a page, just like system-generated errors.
* For consistency, "You do not have permission to do that, for the following reason:" should be displayed even if there's only one error message.
* Add a <div class="permissions-errors"> for a single error displayed on editing a page, akin to the <ul class="permissions-errors"> already present.
* In TitleBlacklist, errors should be inline and unstyled; otherwise they'll display inconsistently when added to lists, styled externally, etc.  Using <code> for the matching regex is better than using bold/italics.  I *did not* change all the different languages, only English.
includes/OutputPage.php
includes/SpecialMovepage.php